package Judge.JudgeMainFrame.JudgeMainFrameView;

import javax.swing.JTabbedPane;

public class MainPane extends JTabbedPane
{
    public MainPane()
    {
    	this.newRunsPane = new NewRunsPane();
    	this.allRunsPane = new AllRunsPane();
    	this.newQuestionsPane = new NewQuestionsPane();
    	this.allQuestionsPane = new AllQuestionsPane();
    	this.testRunsPane = new TestRunsPane();
    	this.settingsPane = new SettingsPane();
    	
    	this.addTab("New Runs", null, this.newRunsPane, null);
    	this.addTab("All Runs", null, this.allRunsPane, null);
    	this.addTab("New Questions", null, this.newQuestionsPane, null);
    	this.addTab("All Questions", null, this.allQuestionsPane, null);
    	this.addTab("Test Runs", null, this.testRunsPane, null);
    	this.addTab("Settings", null, this.settingsPane, null);
    }
    
    public NewRunsPane newRunsPane;
    public AllRunsPane allRunsPane;
    public NewQuestionsPane newQuestionsPane;
    public AllQuestionsPane allQuestionsPane;
    public TestRunsPane testRunsPane;
    public SettingsPane settingsPane;
}
